package com.shixun.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shixun.domain.Board;
import com.shixun.domain.BusinessException;

import java.util.List;

/**
* @author Lin
* @description 针对表【board】的数据库操作Service
* @createDate 2023-06-16 09:27:53
*/

public interface BoardService extends IService<Board> {


    void deleteBoard(Integer id);

    void saveBoard(Board board) throws BusinessException;

    List<Board> queryBoards();

    Board queryById(Integer id);

    void updateBoard(Board board);
}
